home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / util / gnu / emacs_src.lha / src / amiga / emacs-18.59 / emacs-18.59-amiga / cpp / smakefile < prev   
Makefile  |  1993-10-02  |  679b  |  24 lines

  1. # Makefile for cccp in the Emacs distribution only.
  2. # Here we assume that you are using SASC
  3. # (since cccp is used by Emacs only to deal with long strings in macros.
  4.  
  5. CFLAGS=DEF EMACS idir //unix/include/ def STACK_DIRECTION=-1 def OUTPUT_LINE_COMMANDS nowvret debug sf
  6.  
  7. cpp: cccp
  8.     -delete cpp
  9.     makelink cpp cccp
  10. cccp: cccp.o cexp.tab.o alloca.o
  11.     sc link cccp.o alloca.o cexp.tab.o to cccp lib //unix/src/unix.lib
  12.  
  13. testexp: y.tab.c
  14.     cc -g -DTEST_EXP_READER y.tab.c -o testexp
  15.  
  16. cexp.tab.c: cexp.y
  17.     echo "expect 40 shift/reduce conflicts"
  18.     bin:bison cexp.y >bison.debug
  19.  
  20. cccp.o: cccp.c
  21. cexp.tab.o: cexp.tab.c
  22. alloca.o: /src/alloca.c
  23.     $(CC) $(CFLAGS) objname alloca.o /src/alloca.c
  24.